package com.cd.university.db.mapper.dictionary;

import com.cd.university.db.pojo.dictionary.Subject;
import com.cd.university.service.DictionaryProcessorHolder;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SubjectMapper extends DictionaryProcessorHolder {
    int deleteByPrimaryKey(Integer subjectId);

    int insert(Subject record);

    int insertSelective(Subject record);

    Subject selectByPrimaryKey(Integer subjectId);

    int updateByPrimaryKeySelective(Subject record);

    int updateByPrimaryKey(Subject record);

    public List<Subject> searchAll();
}
